package router

import (
	"github.com/gin-gonic/gin"
	v1 "guns-go/controller/v1"
)

func InitEmailRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	EmailRouter := Router.Group("email")
	{
		EmailRouter.POST("sendEmail", v1.SendMail)
		EmailRouter.POST("sendEmailHtml", v1.SendHtmlMail)
	}
	return EmailRouter
}
